<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/user/regist" method="post">
    <input name="name" placeholder="用户名"><br>
    <input type="password" name="pass" placeholder="密码"><br>
    <input name="role" placeholder="角色名"><br>
    <input th:text="${err}" type="submit"><span style="color: red;"></span>
</form>
</body>
</html>